<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template header}
    <style>
    	body{background: #fff;}
    </style>
	<div id="app">
       	<header class="top">
        	<span></span> 
            <ul id="id_order_list">
             	<li class="on"><a>投注记录</a></li>
             	<li><a>追号记录</a></li>
            </ul> 
        	<a href="{U('member/index')}" class="iconfont back" style=""></a> 
       	</header> 
       	<div class="main bg" s="[object Object]">
            <div class="textMore dataType">
             	<em class="tag_choice_day">今天</em> 
             	<i class="iconfont"></i>
            </div> 
            <div id="leftTabBox" class="tag_putong_bet">
             	<div class="hd">
                  	<ul>
                       	<li class="tag_item on">全部</li>
                       	<li class="tag_item">已中奖</li>
                       	<li class="tag_item">未中奖</li>
                       	<li class="tag_item">等待开奖</li>
                  	</ul>
             	</div> 
             	<div class="bd dontSelect">
                  	<div class="scrollBox tag_Allbet">
                       	<div class="touchScroll tag_order_content"></div>
                  	</div>
             	</div>
            </div> 
        	<div class="_problemBox tag_choice_item" style="display: none;">
             	<div class="blackBg"></div> 
             	<div class="moreLayer">
                  	<ul class="tag_choice_item_li">
                       	<li><a>今天</a> <span style="display: none;"></span></li>
                       	<p class="hr1px"></p>
                       	<li><a>昨天</a> <span style="display: none;"></span></li>
                       	<p class="hr1px"></p>
                       	<li><a>七天</a> <span style="display: none;"></span></li>
                  	</ul> 
                  	<ul class="tag_choice_close">
                   		<li><a>取消</a></li>
                  	</ul>
             	</div>
            </div> 
        	<div class="layShow tag_bet_details" style="display: none;">
             	<header class="top">
              		<a class="iconfont back tag_close_detail"></a> 
               		<span>注单详情</span>
              		<div style="float:right;width:20%"></div>
             	</header> 
             	<div class="main">
                  	<div class="tzHead">
                   		<div class="fl iconfont tag_lotter_cla"></div> 
                   		<div>
                   			<h1 class="tag_lott_title"></h1>
                   			<p>第<label class="tag_lott_period"></label>期<span class="tag_lott_winner"></span></p>
                   		</div>
                  	</div> 
                  	<table>
                       	<tbody id="id_pt_bet_more">
                            <tr>
                             	<td width="28%" style="text-align: center; ">投注时间</td>
                             	<td class="tag_bet_time"></td>
                            </tr> 
                            <tr>
                             	<td style="text-align: center; ">投注单号</td>
                             	<td class="tag_bet_order_no"></td>
                            </tr>
                            <tr>
                             	<td style="text-align: center; ">投注金额</td>
                             	<td class="tag_bet_amount">&yen;元</td>
                            </tr> 
                            <tr>
                             	<td style="text-align: center; ">派送奖金</td>
                             	<td class="tag_bet_prize">&yen;元</td>
                            </tr> 
                            <tr>
                            	<td style="text-align: center; ">开奖号码</td>
                             	<td class="tag_bet_code">2,3,5</td>
                            </tr>
                       	</tbody>
                       	<tbody id="id_chase_bet_more" style="display: none;">
                            <tr>
                             	<td width="28%" style="text-align: center; ">追号时间</td>
                             	<td class="tag_bet_time"></td>
                            </tr> 
                            <tr>
                             	<td style="text-align: center; ">追号单号</td>
                             	<td class="tag_bet_order_no"></td>
                            </tr>
                            <tr>
                             	<td style="text-align: center; ">追号进度</td>
                             	<td class="tag_bet_jindu">&yen;元</td>
                            </tr> 
                            <tr>
                             	<td style="text-align: center; ">追号金额</td>
                             	<td class="tag_chase_amount">&yen;元</td>
                            </tr> 
                            <tr>
                             	<td style="text-align: center; ">投注金额</td>
                             	<td class="tag_bet_amount">&yen;元</td>
                            </tr> 
                            <tr>
                             	<td style="text-align: center; ">派送奖金</td>
                             	<td class="tag_bet_prize">&yen;元</td>
                            </tr> 
                            <tr>
                            	<td style="text-align: center; ">中奖即停</td>
                             	<td class="tag_win_end"></td>
                            </tr>
                       	</tbody>
                  	</table> 
              		<section>
               			<header>我的投注</header> 
                       	<ul class="tag_my_bet">
                            <li></li> 
                            <li></li>
                       	</ul>
              		</section>
             	</div>
        	</div>
       	</div> 
	</div>
	{template footer}
    <script>
        // 载入用户的投注记录
        var resData     = '';
        var jsonBaseUrl = "{U('ajaxfunc/member_order_data')}";
        $.ajax({  
    		type:'post',    
    	    url:jsonBaseUrl,  
    	    data:'operation=orderList',  
    	    cache:false,  
    	    dataType:'json',  
    	    async:false,
    	    success:function(res){  
    	    	resData = res;
    	    }  
    	})
    </script>
    <script src="static/wap/js/tag_order.js"></script>
    <script src="static/wap/js/tag_order_init.js"></script>
</html>
